public class EmployeeTest {
    public static void main(String[] args) {
        // 创建员工对象
        Employee employee1 = new Employee("张三", 1001);
        Employee employee2 = new Employee("李四", 1002);

        // 输出员工信息
        System.out.println("员工1信息:");
        employee1.printEmployeeInfo();
        System.out.println();

        System.out.println("员工2信息:");
        employee2.printEmployeeInfo();
        System.out.println();

        // 输出所属单位名称和员工总数量
        System.out.println("所属单位名称: " + Employee.getCompanyName());
        System.out.println("员工总数量: " + Employee.getEmployeeCount());
    }
}
